package com.dao;

import com.pojo.Book;

import java.util.List;

public interface BookDao {
    void addBook(Book book);

    void deleteBookById(long id);

    void updateBook(Book book);

    Book queryById(long id);

    List<Book> queryAllBook();


}
